package com.secxiot.provider.communication.entity;

import java.io.Serializable;

public class CommunicationDetailAttachment implements Serializable {
    private Long id;

    /**
     * 沟通主题对话id
     */
    private Long communicationDetailId;

    /**
     * 文件类型，字典
     */
    private String fileType;

    /**
     * 文件日志id
     */
    private Long fileLogId;

    /**
     * 文件路径
     */
    private String fileUri;

    /**
     * 是否删除：0：未删除 1：已删除
     */
    private Integer delFlag;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCommunicationDetailId() {
        return communicationDetailId;
    }

    public void setCommunicationDetailId(Long communicationDetailId) {
        this.communicationDetailId = communicationDetailId;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    public Long getFileLogId() {
        return fileLogId;
    }

    public void setFileLogId(Long fileLogId) {
        this.fileLogId = fileLogId;
    }

    public String getFileUri() {
        return fileUri;
    }

    public void setFileUri(String fileUri) {
        this.fileUri = fileUri == null ? null : fileUri.trim();
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", communicationDetailId=").append(communicationDetailId);
        sb.append(", fileType=").append(fileType);
        sb.append(", fileLogId=").append(fileLogId);
        sb.append(", fileUri=").append(fileUri);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}